from django.db import models
from django.utils import timezone


class UserInfo(models.Model):
    SEX = (
        ('F', 'female'),
        ('M', 'male'),
    )
    info_name = models.CharField(max_length=20)
    info_phone = models.CharField(max_length=20)
    info_mail = models.CharField(max_length=45)
    info_passwd = models.CharField(max_length=80)
    info_icon = models.CharField(max_length=60)
    info_date = models.DateTimeField(default=timezone.now)
    info_delete = models.CharField(default='F', max_length=1)